<%--
  - @fileoverview : 일반형 목록
  - @description :  
  - Copyright (c) SE Partners Co., Ltd. All rights reserved.
  --%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.se.config.ConfigUtil"%>
<%@ page import="com.se.utils.*"%>
<%@ page import="com.se.model.CommonSessionUser"%>
<%@ taglib prefix="sep" uri="/tags/sep"%>
<%
	// List<String> list = new ArrayList<String>();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<link type="text/css" href="<sep:config key='server.config.doc-root'/>/css/style.css" rel="stylesheet">
<script language="javascript" src="<sep:config key='server.config.doc-root'/>/javascript/jquery-1.7.2.min.js"></script>
<script language="javascript" src="<sep:config key='server.config.doc-root'/>/javascript/ns.js"></script>
<script language="javascript" src="<sep:config key='server.config.doc-root'/>/javascript/Component.js"></script>
<script language="javascript" src="<sep:config key='server.config.doc-root'/>/javascript/UIComponent.js"></script>
<script language="javascript" src="<sep:config key='server.config.doc-root'/>/javascript/Timer.js"></script>
<script language="javascript" src="<sep:config key='server.config.doc-root'/>/javascript/LayerManager.js"></script>
<title><sep:config key='server.config.service-title' /></title>
<script type="text/javascript">
	$(document)
			.ready(function() {

				$("ul#topnav li")
						.hover(function() { //Hover over event on list item
							$(this)
									.css({
										'background' : 'url(../images/topnav_active.png) center top no-repeat'
									}); //Add background color + image on hovered list item
							$(this).find("ul#subnav").css({
								'display' : 'block'
							}); //Ditch the background
							$(this).find("ul#subnav li").show(); //Show the subnav
						}, function() { //on hover out...
							$(this).css({
								'background' : 'none'
							}); //Ditch the background
							$(this).find("ul#subnav").css({
								'display' : 'none'
							}); //Ditch the background
							$(this).find("ul#subnav li").hide(); //Hide the subnav
						});

			});

	$(document)
			.ready(function() {
				$("#manage4")
						.click(function() {
							// 			alert("<sep:config key='server.config.context-root'/>/management/CapitalProfit.do");
							var fm = document.reportP;
							fm.action = "<sep:config key='server.config.context-root'/>/management/CapitalProfit.do";
							alert(fm.action);
							fm.submit();
						});
			});
</script>
</head>
<!-- <body onLoad="initReport();"> -->
<body onLoad="javascript:go_1('1');">
	<div id="wrap">
		<!-- header start -->
		<div id="header">
			<div id="logo">
				<img src="<sep:config key='server.config.doc-root'/>/images/logo.gif" alt="삼정펄프" />
			</div>
			<!-- gnb start -->
			<div id="gnb">
				<ul id="topnav">
					<li><a style="cursor: pointer">생산관리</a>
						<ul id="subnav">
							<li><a href="">일일보고</a></li>
							<li><a href="javascript:go_1('1')">초지기 생산</a> <span> <a href="javascript:go_1('1')">전체</a> | <a href="javascript:go_1('2')">기계별</a> | <a href="javascript:go_1('3')">조별</a> | <a
									href="javascript:go_1('4')">지종별</a>
							</span></li>
							<li><a href="javascript:go_1('5')">수율</a></li>
							<li><a href="javascript:go_1('6')">합치기 생산</a> <span> <a href="javascript:go_1('6')">전체</a> | <a href="javascript:go_1('7')">생산 및 파지</a> | <a href="javascript:go_1('8')">조별</a>
							</span></li>
							<li><a href="javascript:go_1('9')">가공 생산</a> <span> <a href="javascript:go_1('9')">제품별</a> | <a href="javascript:go_1('10')">생산 및 파지</a>
							</span></li>
							<li><a href="javascript:go_1('11')">에너지</a> <span> <a href="javascript:go_1('11')">전기</a> | <a href="javascript:go_1('12')">LNG</a>
							</span></li>
							<li><a href="javascript:go_1('13')">생산 계획 대비 실적</a></li>
						</ul></li>
					<li><a href="">경영관리</a>
						<ul id="subnav">
							<li><a href="javascript:go_1('14')">손익현황</a> <span> <a href="javascript:go_1('14')">공장별</a> | <a href="javascript:go_1('15')">팀별</a> | <a href="javascript:go_1('16')">사업부별</a>
							</span></li>
							<li><a href="javascript:go_1('17')">BS</a> <span> <a href="javascript:go_1('17')">현황</a> | <a href="javascript:go_1('18')">상세</a>
							</span></li>
							<li><a href="javascript:go_1('19')">원가현황</a> <span> <a href="javascript:go_1('19')">제조원가</a> | <a href="javascript:go_1('20')">제조경비</a> | <a href="javascript:go_1('21')">제품수익비교</a> | <a href="javascript:go_1('22')">제품수익비교-선택</a>
							</span></li>
							<li><a href="javascript:go_1('23')" id="manage4">자금수지</a></li>
						</ul></li>
					<li><a href="">영업관리</a>
						<ul id="subnav">
							<li><a href="javascript:go_1('24')">실적</a> <span> <a href="javascript:go_1('24')">출하량</a> | <a href="javascript:go_1('25')">지종별</a>
							</span></li>
							<li><a href="javascript:go_1('25')">매출현황</a> <span> <a href="javascript:go_1('25')">조직별</a> | <a href="javascript:go_1('26')">지종별</a> | <a href="javascript:go_1('27')">거래처별</a>
							</span></li>
							<li><a href="javascript:go_1('28')">매출채권</a> <span> <a href="javascript:go_1('28')">사업부별</a> | <a href="javascript:go_1('29')">거래처별</a>
							</span></li>
						</ul></li>
					<li><a href="">물류재고</a>
						<ul id="subnav">
							<li><a href="javascript:go_1('30')">원료 재고</a></li>
							<li><a href="javascript:go_1('31')">원단 재고</a></li>
							<li><a href="javascript:go_1('32')">제품 재고</a></li>
						</ul></li>
				</ul>
			</div>
			<!-- gnb end -->
			<div id="btn_area">
				<div class="area1">
					<a href="#"><img src="<sep:config key='server.config.doc-root'/>/images/btn_print.png" alt="프린트" /></a>
				</div>
				<div class="area2">
					<span><a href="#"><img src="<sep:config key='server.config.doc-root'/>/images/btn_myinfo.png" alt="내정보수정" /></a></span> <span><a href="#"><img
							src="<sep:config key='server.config.doc-root'/>/images/btn_logout.png" alt="로그아웃" /></a></span>
				</div>
			</div>
		</div>
		<!-- header end -->
		<!-- container start -->
		<div>
			<iframe name="mainFrame" src="" id="mainFrame" scrolling='no' width='100%' height='700' marginWidth=0 marginHeight=0 frameBorder=0 style="border: 0px; margin: 0px" scrolling='no'></iframe>
		</div>
		<!-- container end -->
		<!-- footer start -->
		<div id="footer">
			<p class="copyright">COPYRIGHT 1974-2013 SAMJUNG PULP. ALL RIGHT RESERVED.</p>
		</div>
		<!-- footer end -->
	</div>
	<form name="reportP" method="post" action="" target="mainFrame" style="border: 0px; margin: 0px"></form>
	<script type="text/javascript">
		function go_1(id) {

			if (id == "1") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/papertotal.do";
				fm.submit();
			} else if (id == "2") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/papermachine.do";
				fm.submit();
			} else if (id == "3") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/paperteam.do";
				fm.submit();
			} else if (id == "4") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/paperkind.do";
				fm.submit();
			} else if (id == "5") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/YieldRate.do";
				fm.submit();
			} else if (id == "6") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/combinedtotal.do";
				fm.submit();
			} else if (id == "7") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/CombinedPaperProdAndScratch.do";
				fm.submit();
			} else if (id == "8") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/CombinedPaperTeam.do";
				fm.submit();
			} else if (id == "9") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/ProcessedProductKind.do";
				fm.submit();
			} else if (id == "10") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/ProcessedProductProdAndScratch.do";
				fm.submit();
			} else if (id == "11") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/EnergyElectricity.do";
				fm.submit();
			} else if (id == "12") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/EnergyLNG.do";
				fm.submit();
			} else if (id == "13") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/PlanAndResult.do";
				fm.submit();
			} else if (id == "14") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/ProfitAndLossMachine.do";
				fm.submit();
			} else if (id == "15") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/ProfitAndLossTeam.do";
				fm.submit();
			} else if (id == "16") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/ProfitAndLossDivision.do";
				fm.submit();
			} else if (id == "17") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/BSStatus.do";
				fm.submit();
			} else if (id == "18") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/BSDetail.do";
				fm.submit();
			} else if (id == "19") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/PlanAndResult.do";
				fm.submit();
			} else if (id == "20") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/PlanAndResult.do";
				fm.submit();
			} else if (id == "21") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/PlanAndResult.do";
				fm.submit();
			} else if (id == "22") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/PlanAndResult.do";
				fm.submit();
			} else if (id == "23") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/management/PlanAndResult.do";
				fm.submit();
			} else if (id == "24") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/PlanAndResult.do";
				fm.submit();
			} else if (id == "25") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/PlanAndResult.do";
				fm.submit();
			} else if (id == "26") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/PlanAndResult.do";
				fm.submit();
			} else if (id == "27") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/PlanAndResult.do";
				fm.submit();
			} else if (id == "28") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/PlanAndResult.do";
				fm.submit();
			} else if (id == "29") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/production/PlanAndResult.do";
				fm.submit();
			} else if (id == "30") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/distribution/DistributionRawMaterial.do";
				fm.submit();
			} else if (id == "31") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/distribution/DistributionFabricMaterial.do";
				fm.submit();
			} else if (id == "32") {
				var fm = document.reportP;
				fm.action = "<sep:config key='server.config.context-root'/>/distribution/DistributionProductMaterial.do";
				fm.submit();
			}
		}
	</script>
</body>
</html>